package cwiczenia.cwiczenia4;

public class ZadIII {
    public static void main(String[] args) {
        byte a = 2;
        byte b = 7;

        System.out.println("a = " + a + ", b = " + b);
        System.out.println("a rowne b ? " + (a == b));    // odp na a == b - bedzie juz t/f
        System.out.println("a rozne od b ? " + (a != b));
        System.out.println("a mniejsze od b ? " + (a < b));
        System.out.println("a wieksze od b ? " + (a > b));

        int c = 3;
        int d = 4;

        System.out.println();
        System.out.println("c = " + c + ", d = " + d);
        System.out.println("c rowne d ? " + (c == d));
        System.out.println("c rozne od d ? " + (c != d));
        System.out.println("c mniejsze od d ? " + (c < d));
        System.out.println("c wieksze od d ? " + (c > d));

        double e = 2.0;
        double f = 1.0;

        System.out.println();
        System.out.println("e = " + e + ", f = " + f);
        System.out.println("e rowne f ? " + (e == f));
        System.out.println("e rozne od f ? " + (e != f));
        System.out.println("e mniejsze od f ? " + (e < f));
        System.out.println("e wieksze od f ? " + (e > f));

        boolean g = true;
        boolean h = false;

        System.out.println();
        System.out.println("g = " + g + ", h = " + h);
        System.out.println("g rowne h ? " + (g == h));
        System.out.println("g rozne od h ? " + (g != h));
        /*
		System.out.println("g mniejsze od h ? " + (g < h));
		System.out.println("g wieksze od h ? " + (g > h));
		*/
    }
}

// System.out.println(a+b);		teraz sie wyswietli ich suma